package cn.ainit.base.myTask;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.ainit.sys.query.entity.QueryJson;
@Service
public class MyTaskServiceImpl implements MyTaskService{
	MyTaskDao myTaskDao;
	
	@Resource
	public void setMyTaskDao(MyTaskDao myTaskDao) {
		this.myTaskDao = myTaskDao;
	}
	
	
	@Override
	public QueryJson findTask(TaskParam taskParam) throws Exception {
		return this.myTaskDao.findTask(taskParam);
	}
	@Override
	public String getDsIdByType(String djType) throws Exception {
		return this.myTaskDao.getDsIdByType(djType);
	}
	@Override
	public List myWorkList(String uid) throws Exception {
		return this.myTaskDao.myWorkList(uid);
	}
	@Override
	public List myWorkNum(String uid) throws Exception {
		return this.myTaskDao.myWorkNum(uid);
	}


	@Override
	public String getFuncIdByType(String djType) throws Exception {
		return this.myTaskDao.getFuncIdByType(djType);
	}
}
